import React from 'react'

//资源列表
export async function thirdResourcePage(params) {
  return await React.$postJson('/manage/api/b/thirdResource/page', params);
}
//开启关闭资源配置
export async function thirdResourceUpdateStatus(params) {
  return await React.$postJson('/manage/api/b/thirdResource/updateStatus', params);
}
// 修改资源位
export async function thirdResourceEdit(params) {
  return await React.$postJson('/manage/api/b/thirdResource/edit', params);
}
// 资源位详情
export async function thirdResourceView(params) {
  return await React.$get('/manage/api/b/thirdResource/one', params)
}
// 频道分页
export async function thirdChannelPage(params) {
  return await React.$postJson('/product/api/b/thirdChannel/page', params);
}
// 新建资源位
export async function thirdResourceAdd(params) {
  return await React.$postJson('/manage/api/b/thirdResource/add', params);
}
// 删除资源位
export async function thirdResourceDel(params) {
  return await React.$get('/manage/api/b/thirdResource/del', params)
}
